package classetc;

/**
 * @since Oct 16, 2017
 * 1. we can do extends of interface
 * 2. the class implements interface should implement all methods the interface have, including extends from base class, except abstract class
 */
interface ParentI {
    void parentPrint();
}

interface SonI extends ParentI {
    void sonPrint();
}

public class InterfaceExtends implements SonI {

    public void parentPrint() {
    }

    public void sonPrint() {
    }

    public static void main(String[] args) {

    }
}
